package org.vpm.mediaplayer;

import org.vpm.mediaplayer.IPlayerServiceCallback;

interface IPlayerService {
	void registerCallback(IPlayerServiceCallback cb);
	void unregisterCallback(IPlayerServiceCallback cb);
	int getCurrentPosition();
	int getDuration();
	void pauseTrack();
	void startTrack();
	void seekTrack(int progress);
	void stopTrack();
	boolean isPlaying();
	boolean isActive();
	boolean isRemote();
	boolean remoteTrack();
	String getError();
}
